import { getRequest, postRequest } from '../../utils/request.js'

//新增收货地址
export function addGoodsAddress(data, callbackOk, callbackFail) {
	postRequest('/goodsAddress/addGoodsAddress', data, callbackOk, callbackFail)
}

//查询收货地址
export function queryDetail(data, callbackOk, callbackFail) {
	getRequest('/goodsAddress/queryDetail', data, callbackOk, callbackFail)
}

//修改收货地址
export function editGoodsAddress(data, callbackOk, callbackFail) {
	postRequest('/goodsAddress/editGoodsAddress', data, callbackOk, callbackFail)
}